/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package config;

import com.bradley.calculator.CalculatorImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 * @author 211093637
 */
@Configuration
public class AppConfig {
    @Bean(name = "add")
    public CalculatorImpl addition()
    {
        return new CalculatorImpl();
    }
    
}
